/*
 * @Author: yanyqf
 * @Date: 2020-03-05 13:23:38
 * @LastEditTime: 2020-04-15 17:48:55
 * @Description: file content
 */
import YGCCreateSearch from '../YGCCreateSearch'

import YGCCreateTreeCard from '../YGCCreateTreeCard'

import YGCreateButton from '../YGCreateButton'

import YGCreateCardTitle from '../YGCreateCardTitle'

import YGCCreateForm from '../YGCCreateForm/ygcCreateForm';

import YGCCreatePromptModal from '../YGCCreatePromptModal';

import YGCreateApproveModal from '../YGCreateApproveModal';

import YGCreatePassRejectModal from '../YGCreatePassRejectModal';

import YGCreateAproHistoryModal from '../YGCreateAproHistoryModal';



const UIParams = {
    YGCCreateSearch,
    YGCCreateTreeCard,
    YGCreateButton,
    YGCreateCardTitle,
    YGCCreateForm,
    YGCCreatePromptModal,
    YGCreateApproveModal,
    YGCreatePassRejectModal,
    YGCreateAproHistoryModal
}

function creactUIParams() {
    for (let key in UIParams) {
        if (UIParams.hasOwnProperty(key)) {
            this[key] = UIParams[key].bind(this)
        }
    }
}
export default creactUIParams